using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class ImportMappingsImportMapRequest : OrganizationRequest
	{
		public string MappingsXml
		{
			get
			{
				if (base.Parameters.Contains("MappingsXml"))
				{
					return (string)base.Parameters["MappingsXml"];
				}
				return null;
			}
			set
			{
				base.Parameters["MappingsXml"] = value;
			}
		}
		public bool ReplaceIds
		{
			get
			{
				return base.Parameters.Contains("ReplaceIds") && (bool)base.Parameters["ReplaceIds"];
			}
			set
			{
				base.Parameters["ReplaceIds"] = value;
			}
		}
		public ImportMappingsImportMapRequest()
		{
			base.RequestName = "ImportMappingsImportMap";
			this.MappingsXml = null;
			this.ReplaceIds = false;
		}
	}
}
